projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06720de
)
(send_process) [EMACS_HAS_USECS]:
author
Richard M. Stallman
<rms@gnu.org>
Wed, 18 Dec 1996 16:37:52 +0000
(16:37 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 18 Dec 1996 16:37:52 +0000
(16:37 +0000)
When we wait for the buffer to clear, wait just .02 second.
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index e902cc7b51984f528a9000cbc341ceb7912bc15d..5d2f71333418f0b2422a2f78cebdc246e82a0d7e 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-2781,7
+2781,11
@@
send_process (proc, buf, len, object)
offset = buf - (char *) XSTRING (object)->data;
XSETFASTINT (zero, 0);
+#ifdef EMACS_HAS_USECS
+ wait_reading_process_input (0, 20000, zero, 0);
+#else
wait_reading_process_input (1, 0, zero, 0);
+#endif
if (BUFFERP (object))
buf = (char *) BUF_CHAR_ADDRESS (XBUFFER (object), offset);